package com.mc.fil.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 转入加工中心 对象 fil_into_maching
 *
 * @author mc
 * @date 2021-04-15
 */
public class FilIntoMaching extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String cltId;

    /** 转入加工中心编号 */
    @Excel(name = "转入加工中心编号")
    private String intoMachiningId;

    /** 转入加工中心名称 */
    @Excel(name = "转入加工中心名称")
    private String intoMachiningName;

    /** 转入加工中心时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转入加工中心时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date intoMachiningDate;

    /** 转入加工中心数量 */
    @Excel(name = "转入加工中心数量")
    private Long intoMachiningNumber;

    /** 精选前 */
    @Excel(name = "精选前")
    private BigDecimal selectedBefore;

    /** 水分 */
    @Excel(name = "水分")
    private BigDecimal moisture;

    /** 纯度 */
    @Excel(name = "纯度")
    private BigDecimal purity;

    /** 芽率 */
    @Excel(name = "芽率")
    private BigDecimal budRate;

    /** 千粒重 */
    @Excel(name = "千粒重")
    private BigDecimal grain;

    /** 采收人编号 */
    @Excel(name = "采收人编号")
    private String harvestUserId;

    /** 加工中心编辑人编号 */
    @Excel(name = "加工中心编辑人编号")
    private String workUserId;

    /** $column.columnComment */
    @Excel(name = "加工中心编辑人编号")
    private String filId;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setCltId(String cltId)
    {
        this.cltId = cltId;
    }

    public String getCltId()
    {
        return cltId;
    }
    public void setIntoMachiningId(String intoMachiningId)
    {
        this.intoMachiningId = intoMachiningId;
    }

    public String getIntoMachiningId()
    {
        return intoMachiningId;
    }
    public void setIntoMachiningName(String intoMachiningName)
    {
        this.intoMachiningName = intoMachiningName;
    }

    public String getIntoMachiningName()
    {
        return intoMachiningName;
    }
    public void setIntoMachiningDate(Date intoMachiningDate)
    {
        this.intoMachiningDate = intoMachiningDate;
    }

    public Date getIntoMachiningDate()
    {
        return intoMachiningDate;
    }
    public void setIntoMachiningNumber(Long intoMachiningNumber)
    {
        this.intoMachiningNumber = intoMachiningNumber;
    }

    public Long getIntoMachiningNumber()
    {
        return intoMachiningNumber;
    }
    public void setSelectedBefore(BigDecimal selectedBefore)
    {
        this.selectedBefore = selectedBefore;
    }

    public BigDecimal getSelectedBefore()
    {
        return selectedBefore;
    }
    public void setMoisture(BigDecimal moisture)
    {
        this.moisture = moisture;
    }

    public BigDecimal getMoisture()
    {
        return moisture;
    }
    public void setPurity(BigDecimal purity)
    {
        this.purity = purity;
    }

    public BigDecimal getPurity()
    {
        return purity;
    }
    public void setBudRate(BigDecimal budRate)
    {
        this.budRate = budRate;
    }

    public BigDecimal getBudRate()
    {
        return budRate;
    }
    public void setGrain(BigDecimal grain)
    {
        this.grain = grain;
    }

    public BigDecimal getGrain()
    {
        return grain;
    }
    public void setHarvestUserId(String harvestUserId)
    {
        this.harvestUserId = harvestUserId;
    }

    public String getHarvestUserId()
    {
        return harvestUserId;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .append("cltId", getCltId())
                .append("intoMachiningId", getIntoMachiningId())
                .append("intoMachiningName", getIntoMachiningName())
                .append("intoMachiningDate", getIntoMachiningDate())
                .append("intoMachiningNumber", getIntoMachiningNumber())
                .append("selectedBefore", getSelectedBefore())
                .append("moisture", getMoisture())
                .append("purity", getPurity())
                .append("budRate", getBudRate())
                .append("grain", getGrain())
                .append("harvestUserId", getHarvestUserId())
                .append("workUserId", getWorkUserId())
                .append("filId", getFilId())
                .append("photos", getPhotos())
                .toString();
    }
}